package com.qiaofang.applet.service.property.service;

import com.qiaofang.applet.common.base.BaseService;
import com.qiaofang.applet.service.property.domain.FirsthandEstate;
import com.qiaofang.applet.service.property.domain.Property;
import com.qiaofang.applet.service.property.service.dto.PropertyRedundanceFieldDto;
import javafx.beans.property.ListProperty;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author QF2019
 */
public interface PropertyDataHandleService extends BaseService<Property, String> {

    /**
     * 初始化房源冗余字段
     * @param property
     */
    void initAllPropertyRedundanceField(List<Property> property);

    /**
     * 更新房源冗余字段
     * @param dtos
     */
    void updatePropertyRedundanceField(List<PropertyRedundanceFieldDto> dtos);

    /**
     * 初始化房源冗余字段
     * @param property
     */
    void initPropertyRedundanceField(Property property);
}
